package org.example.entity;


import lombok.Data;

@Data
public class NodeBean {

    /**
     * 节点id，从0开始计数
     */
    int id;

    /**
     * 节点名称
     */
    String label;

    /**
     * 标记是否为终结态
     */
    Boolean state;

    public NodeBean(int id, String label, Boolean state) {
        this.id = id;
        this.label = label;
        this.state = state;
    }

}
